3.235 \(\int \frac{\sqrt{b x^2+c x^4}}{x^4} \, dx\)

Optimal. Leaf size=56 \[ -\frac{\sqrt{b x^2+c x^4}}{2 x^3}-\frac{c \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2+c x^4}}\right )}{2 \sqrt{b}} \]

[Out]

-Sqrt[b*x^2 + c*x^4]/(2*x^3) - (c*ArcTanh[(Sqrt[b]*x)/Sqrt[b*x^2 + c*x^4]])/(2*Sqrt[b])

________________________________________________________________________________________

Rubi [A]  time = 0.0521658, antiderivative size = 56, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158, Rules used = {2020, 2008, 206} \[ -\frac{\sqrt{b x^2+c x^4}}{2 x^3}-\frac{c \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2+c x^4}}\right )}{2 \sqrt{b}} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[b*x^2 + c*x^4]/x^4,x]

[Out]

-Sqrt[b*x^2 + c*x^4]/(2*x^3) - (c*ArcTanh[(Sqrt[b]*x)/Sqrt[b*x^2 + c*x^4]])/(2*Sqrt[b])

Rule 2020

Int[((c_.)*(x_))^(m_)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Simp[((c*x)^(m + 1)*(a*x^j + b*
x^n)^p)/(c*(m + j*p + 1)), x] - Dist[(b*p*(n - j))/(c^n*(m + j*p + 1)), Int[(c*x)^(m + n)*(a*x^j + b*x^n)^(p -
 1), x], x] /; FreeQ[{a, b, c}, x] &&  !IntegerQ[p] && LtQ[0, j, n] && (IntegersQ[j, n] || GtQ[c, 0]) && GtQ[p
, 0] && LtQ[m + j*p + 1, 0]

Rule 2008

Int[1/Sqrt[(a_.)*(x_)^2 + (b_.)*(x_)^(n_.)], x_Symbol] :> Dist[2/(2 - n), Subst[Int[1/(1 - a*x^2), x], x, x/Sq
rt[a*x^2 + b*x^n]], x] /; FreeQ[{a, b, n}, x] && NeQ[n, 2]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rubi steps

\begin{align*} \int \frac{\sqrt{b x^2+c x^4}}{x^4} \, dx &=-\frac{\sqrt{b x^2+c x^4}}{2 x^3}+\frac{1}{2} c \int \frac{1}{\sqrt{b x^2+c x^4}} \, dx\\ &=-\frac{\sqrt{b x^2+c x^4}}{2 x^3}-\frac{1}{2} c \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x}{\sqrt{b x^2+c x^4}}\right )\\ &=-\frac{\sqrt{b x^2+c x^4}}{2 x^3}-\frac{c \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2+c x^4}}\right )}{2 \sqrt{b}}\\ \end{align*}

Mathematica [A]  time = 0.0417727, size = 63, normalized size = 1.12 \[ -\frac{c x^2 \sqrt{\frac{c x^2}{b}+1} \tanh ^{-1}\left (\sqrt{\frac{c x^2}{b}+1}\right )+b+c x^2}{2 x \sqrt{x^2 \left (b+c x^2\right )}} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[b*x^2 + c*x^4]/x^4,x]

[Out]

-(b + c*x^2 + c*x^2*Sqrt[1 + (c*x^2)/b]*ArcTanh[Sqrt[1 + (c*x^2)/b]])/(2*x*Sqrt[x^2*(b + c*x^2)])

________________________________________________________________________________________

Maple [A]  time = 0.049, size = 85, normalized size = 1.5 \begin{align*} -{\frac{1}{2\,b{x}^{3}}\sqrt{c{x}^{4}+b{x}^{2}} \left ( \sqrt{b}\ln \left ( 2\,{\frac{\sqrt{b}\sqrt{c{x}^{2}+b}+b}{x}} \right ){x}^{2}c-\sqrt{c{x}^{2}+b}{x}^{2}c+ \left ( c{x}^{2}+b \right ) ^{{\frac{3}{2}}} \right ){\frac{1}{\sqrt{c{x}^{2}+b}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x^4+b*x^2)^(1/2)/x^4,x)

[Out]

-1/2*(c*x^4+b*x^2)^(1/2)*(b^(1/2)*ln(2*(b^(1/2)*(c*x^2+b)^(1/2)+b)/x)*x^2*c-(c*x^2+b)^(1/2)*x^2*c+(c*x^2+b)^(3
/2))/x^3/(c*x^2+b)^(1/2)/b

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{c x^{4} + b x^{2}}}{x^{4}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^4+b*x^2)^(1/2)/x^4,x, algorithm="maxima")

[Out]

integrate(sqrt(c*x^4 + b*x^2)/x^4, x)

________________________________________________________________________________________

Fricas [A]  time = 1.61267, size = 300, normalized size = 5.36 \begin{align*} \left [\frac{\sqrt{b} c x^{3} \log \left (-\frac{c x^{3} + 2 \, b x - 2 \, \sqrt{c x^{4} + b x^{2}} \sqrt{b}}{x^{3}}\right ) - 2 \, \sqrt{c x^{4} + b x^{2}} b}{4 \, b x^{3}}, \frac{\sqrt{-b} c x^{3} \arctan \left (\frac{\sqrt{c x^{4} + b x^{2}} \sqrt{-b}}{c x^{3} + b x}\right ) - \sqrt{c x^{4} + b x^{2}} b}{2 \, b x^{3}}\right ] \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^4+b*x^2)^(1/2)/x^4,x, algorithm="fricas")

[Out]

[1/4*(sqrt(b)*c*x^3*log(-(c*x^3 + 2*b*x - 2*sqrt(c*x^4 + b*x^2)*sqrt(b))/x^3) - 2*sqrt(c*x^4 + b*x^2)*b)/(b*x^
3), 1/2*(sqrt(-b)*c*x^3*arctan(sqrt(c*x^4 + b*x^2)*sqrt(-b)/(c*x^3 + b*x)) - sqrt(c*x^4 + b*x^2)*b)/(b*x^3)]

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{x^{2} \left (b + c x^{2}\right )}}{x^{4}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x**4+b*x**2)**(1/2)/x**4,x)

[Out]

Integral(sqrt(x**2*(b + c*x**2))/x**4, x)

________________________________________________________________________________________

Giac [A]  time = 1.33085, size = 61, normalized size = 1.09 \begin{align*} \frac{1}{2} \, c{\left (\frac{\arctan \left (\frac{\sqrt{c x^{2} + b}}{\sqrt{-b}}\right )}{\sqrt{-b}} - \frac{\sqrt{c x^{2} + b}}{c x^{2}}\right )} \mathrm{sgn}\left (x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^4+b*x^2)^(1/2)/x^4,x, algorithm="giac")

[Out]

1/2*c*(arctan(sqrt(c*x^2 + b)/sqrt(-b))/sqrt(-b) - sqrt(c*x^2 + b)/(c*x^2))*sgn(x)